﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001223 RID: 4643
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StartPunkLordRaidCsReq : IMessage<StartPunkLordRaidCsReq>, IMessage, IEquatable<StartPunkLordRaidCsReq>, IDeepCloneable<StartPunkLordRaidCsReq>, IBufferMessage
	{
		// Token: 0x17003AD7 RID: 15063
		// (get) Token: 0x0600D027 RID: 53287 RVA: 0x00230B2D File Offset: 0x0022ED2D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StartPunkLordRaidCsReq> Parser
		{
			get
			{
				return StartPunkLordRaidCsReq._parser;
			}
		}

		// Token: 0x17003AD8 RID: 15064
		// (get) Token: 0x0600D028 RID: 53288 RVA: 0x00230B34 File Offset: 0x0022ED34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StartPunkLordRaidCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003AD9 RID: 15065
		// (get) Token: 0x0600D029 RID: 53289 RVA: 0x00230B46 File Offset: 0x0022ED46
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StartPunkLordRaidCsReq.Descriptor;
			}
		}

		// Token: 0x0600D02A RID: 53290 RVA: 0x00230B4D File Offset: 0x0022ED4D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartPunkLordRaidCsReq()
		{
		}

		// Token: 0x0600D02B RID: 53291 RVA: 0x00230B55 File Offset: 0x0022ED55
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartPunkLordRaidCsReq(StartPunkLordRaidCsReq other) : this()
		{
			this.oLBEAFGCGGA_ = other.oLBEAFGCGGA_;
			this.uid_ = other.uid_;
			this.monsterId_ = other.monsterId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D02C RID: 53292 RVA: 0x00230B92 File Offset: 0x0022ED92
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartPunkLordRaidCsReq Clone()
		{
			return new StartPunkLordRaidCsReq(this);
		}

		// Token: 0x17003ADA RID: 15066
		// (get) Token: 0x0600D02D RID: 53293 RVA: 0x00230B9A File Offset: 0x0022ED9A
		// (set) Token: 0x0600D02E RID: 53294 RVA: 0x00230BA2 File Offset: 0x0022EDA2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool OLBEAFGCGGA
		{
			get
			{
				return this.oLBEAFGCGGA_;
			}
			set
			{
				this.oLBEAFGCGGA_ = value;
			}
		}

		// Token: 0x17003ADB RID: 15067
		// (get) Token: 0x0600D02F RID: 53295 RVA: 0x00230BAB File Offset: 0x0022EDAB
		// (set) Token: 0x0600D030 RID: 53296 RVA: 0x00230BB3 File Offset: 0x0022EDB3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Uid
		{
			get
			{
				return this.uid_;
			}
			set
			{
				this.uid_ = value;
			}
		}

		// Token: 0x17003ADC RID: 15068
		// (get) Token: 0x0600D031 RID: 53297 RVA: 0x00230BBC File Offset: 0x0022EDBC
		// (set) Token: 0x0600D032 RID: 53298 RVA: 0x00230BC4 File Offset: 0x0022EDC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MonsterId
		{
			get
			{
				return this.monsterId_;
			}
			set
			{
				this.monsterId_ = value;
			}
		}

		// Token: 0x0600D033 RID: 53299 RVA: 0x00230BCD File Offset: 0x0022EDCD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StartPunkLordRaidCsReq);
		}

		// Token: 0x0600D034 RID: 53300 RVA: 0x00230BDC File Offset: 0x0022EDDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StartPunkLordRaidCsReq other)
		{
			return other != null && (other == this || (this.OLBEAFGCGGA == other.OLBEAFGCGGA && this.Uid == other.Uid && this.MonsterId == other.MonsterId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D035 RID: 53301 RVA: 0x00230C38 File Offset: 0x0022EE38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.OLBEAFGCGGA)
			{
				num ^= this.OLBEAFGCGGA.GetHashCode();
			}
			if (this.Uid != 0U)
			{
				num ^= this.Uid.GetHashCode();
			}
			if (this.MonsterId != 0U)
			{
				num ^= this.MonsterId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D036 RID: 53302 RVA: 0x00230CA9 File Offset: 0x0022EEA9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D037 RID: 53303 RVA: 0x00230CB1 File Offset: 0x0022EEB1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D038 RID: 53304 RVA: 0x00230CBC File Offset: 0x0022EEBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MonsterId != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.MonsterId);
			}
			if (this.OLBEAFGCGGA)
			{
				output.WriteRawTag(48);
				output.WriteBool(this.OLBEAFGCGGA);
			}
			if (this.Uid != 0U)
			{
				output.WriteRawTag(88);
				output.WriteUInt32(this.Uid);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D039 RID: 53305 RVA: 0x00230D34 File Offset: 0x0022EF34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.OLBEAFGCGGA)
			{
				num += 2;
			}
			if (this.Uid != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Uid);
			}
			if (this.MonsterId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MonsterId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D03A RID: 53306 RVA: 0x00230D98 File Offset: 0x0022EF98
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StartPunkLordRaidCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.OLBEAFGCGGA)
			{
				this.OLBEAFGCGGA = other.OLBEAFGCGGA;
			}
			if (other.Uid != 0U)
			{
				this.Uid = other.Uid;
			}
			if (other.MonsterId != 0U)
			{
				this.MonsterId = other.MonsterId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D03B RID: 53307 RVA: 0x00230DFC File Offset: 0x0022EFFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D03C RID: 53308 RVA: 0x00230E08 File Offset: 0x0022F008
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					if (num != 48U)
					{
						if (num != 88U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.Uid = input.ReadUInt32();
						}
					}
					else
					{
						this.OLBEAFGCGGA = input.ReadBool();
					}
				}
				else
				{
					this.MonsterId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400536D RID: 21357
		private static readonly MessageParser<StartPunkLordRaidCsReq> _parser = new MessageParser<StartPunkLordRaidCsReq>(() => new StartPunkLordRaidCsReq());

		// Token: 0x0400536E RID: 21358
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400536F RID: 21359
		public const int OLBEAFGCGGAFieldNumber = 6;

		// Token: 0x04005370 RID: 21360
		private bool oLBEAFGCGGA_;

		// Token: 0x04005371 RID: 21361
		public const int UidFieldNumber = 11;

		// Token: 0x04005372 RID: 21362
		private uint uid_;

		// Token: 0x04005373 RID: 21363
		public const int MonsterIdFieldNumber = 5;

		// Token: 0x04005374 RID: 21364
		private uint monsterId_;
	}
}
